package com.caiyouxi.finance.model;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

/**
 * 用户财务账户款项明细
 *
 * Created by Administrator on 2017/10/18.
 */
public class FinanceAccountDetail implements Serializable {

    private BigInteger id;           //自增长记录编号
    private BigInteger finance_account_id;              //财务账户记录编号
    private Integer user_id;        //用户编号
    private String account_code;        //账户类型代码
    private Integer beginning_balance;// 期初余额。
    private String debit_or_credit;//借贷
    private String fund_type;//资金类型/资金来源
    private Integer amount;//发生的金额
    private BigInteger finance_trade_receivable_id;//用户应收/应付账目明细
    private BigInteger finance_trade_details_id;//交易明细编号
    private Integer balance;//结余
    private String status;//状态
    private Date create_time;//创建时间，款项入账日期。
    private Date expire_time;//该笔款项的失效时间。每笔款项都会有失效时间。
    private Date update_time;//最后更新时间

    public BigInteger getId() {
        return id;
    }

    public void setId(BigInteger id) {
        this.id = id;
    }

    public BigInteger getFinance_account_id() {
        return finance_account_id;
    }

    public void setFinance_account_id(BigInteger finance_account_id) {
        this.finance_account_id = finance_account_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getAccount_code() {
        return account_code;
    }

    public void setAccount_code(String account_code) {
        this.account_code = account_code;
    }

    public Integer getBeginning_balance() {
        return beginning_balance;
    }

    public void setBeginning_balance(Integer beginning_balance) {
        this.beginning_balance = beginning_balance;
    }

    public String getDebit_or_credit() {
        return debit_or_credit;
    }

    public void setDebit_or_credit(String debit_or_credit) {
        this.debit_or_credit = debit_or_credit;
    }

    public String getFund_type() {
        return fund_type;
    }

    public void setFund_type(String fund_type) {
        this.fund_type = fund_type;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public BigInteger getFinance_trade_receivable_id() {
        return finance_trade_receivable_id;
    }

    public void setFinance_trade_receivable_id(BigInteger finance_trade_receivable_id) {
        this.finance_trade_receivable_id = finance_trade_receivable_id;
    }

    public BigInteger getFinance_trade_details_id() {
        return finance_trade_details_id;
    }

    public void setFinance_trade_details_id(BigInteger finance_trade_details_id) {
        this.finance_trade_details_id = finance_trade_details_id;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getExpire_time() {
        return expire_time;
    }

    public void setExpire_time(Date expire_time) {
        this.expire_time = expire_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }
}
